import { legacy_createStore, combineReducers, applyMiddleware } from 'redux';
import logger from 'redux-logger';
import thunk from 'redux-thunk'
import reducer from './modules/reducer'

let all_Reducers = combineReducers({
    reducer
})

export default legacy_createStore(all_Reducers, applyMiddleware(logger,thunk))